import { defineStore } from "pinia";
export  const useSelectTab = defineStore('selectTab',{
    state(){
        return {
            selectTab:''
        }
    },
    actions: {
             replace(value){
                this.selectTab = value
            },
            clear(){
                this.selectTab = ''
            },
        
            
    },
    //   },
    getters:{
        getSelectTab(){
            return this.selectTab
        }
    },
    persist:{
        storage:localStorage,
       
    }
}) 